package org.example.library.service;

import org.example.library.mapper.UserInfoMapper;
import org.example.library.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public UserInfo queryUserByName(String name) {

        return userInfoMapper.queryUserByName(name);
    }
}
